< previous page page_550 next page >

Page 550
This interface is used to maintain any of the different resources that you can add to the file. As an example of how the editor works, open the String Table folder (if it isn't already open), and then double-click the String Table reference to display the Edit String Tables dialog box (see Figure 19.13).
12181-0550a.gif
Figure 19.13.
Editing the string resources by using an unbound data
grid.
As you can see, the maintenance of the resource definition file has become a simple process with this editor. Now, here's the best part of the Resource Editor: When you finish working with the resource definition file and save the changes, the editor automatically recompiles the information into the .RES file for you.
Summary
In today's lesson, you've seen how the performance of the application can be affected by many different changes, Visual Basic commands, and techniques that you've used in the application. However, performance by itself is a very subjective concept. Making very minor changes in the way the application executes can create the impression of a faster application. Anytime you make changes to increase an application's speed, you should always retest the application to ensure that the changes haven't hurt performance rather than help it. You must also test for reliability after such changes. It's not uncommon for the changes you make to break working code somewhere else in the application.
Also, putting many of the more size-intensive resources into its own resource file that your application can access reduces the application's size and increases performance. Finally, VB5's new compile features allow you to create executable files that are optimized for the type of computer the application will probably run on.
The suggestions and techniques that you've seen today are by no means the only ones that you can use to enhance your application. You may think that some suggestions appear too simple to really do anything; however, the best changes you can make to an application are those that require more common sense than complex coding changes.

 
< previous page page_550 next page >

If you like this book, buy it!